package com.guhappy.model.contest;

import java.io.Serializable;
import java.util.Date;

import com.guhappy.model.user.GlobalEx;
import com.guhappy.model.user.Region;
import com.guhappy.model.user.WebUser;

public class ContestRule implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;
	private String name;
	private Float unitPrice;
	private Date duration;
	private Float tier1;
	private Float tier2;
	private Float tier3;
	private Float tier4;
	private Float tier5;
	
	private Region region;
	private GlobalEx globalEx;
	private WebUser webUser;
	/**
	 * @param id
	 * @param name
	 * @param unitPrice
	 * @param duration
	 * @param tier1
	 * @param tier2
	 * @param tier3
	 * @param tier4
	 * @param tier5
	 */
	public ContestRule(String id, String name, Float unitPrice, Date duration,
			Float tier1, Float tier2, Float tier3, Float tier4, Float tier5) {
		this.id = id;
		this.name = name;
		this.unitPrice = unitPrice;
		this.duration = duration;
		this.tier1 = tier1;
		this.tier2 = tier2;
		this.tier3 = tier3;
		this.tier4 = tier4;
		this.tier5 = tier5;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Float getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(Float unitPrice) {
		this.unitPrice = unitPrice;
	}
	public Date getDuration() {
		return duration;
	}
	public void setDuration(Date duration) {
		this.duration = duration;
	}
	public Float getTier1() {
		return tier1;
	}
	public void setTier1(Float tier1) {
		this.tier1 = tier1;
	}
	public Float getTier2() {
		return tier2;
	}
	public void setTier2(Float tier2) {
		this.tier2 = tier2;
	}
	public Float getTier3() {
		return tier3;
	}
	public void setTier3(Float tier3) {
		this.tier3 = tier3;
	}
	public Float getTier4() {
		return tier4;
	}
	public void setTier4(Float tier4) {
		this.tier4 = tier4;
	}
	public Float getTier5() {
		return tier5;
	}
	public void setTier5(Float tier5) {
		this.tier5 = tier5;
	}
	public Region getRegion() {
		return region;
	}
	public void setRegion(Region region) {
		this.region = region;
	}
	public GlobalEx getGlobalEx() {
		return globalEx;
	}
	public void setGlobalEx(GlobalEx globalEx) {
		this.globalEx = globalEx;
	}
	public WebUser getWebUser() {
		return webUser;
	}
	public void setWebUser(WebUser webUser) {
		this.webUser = webUser;
	}
}
